package org.prosim.user.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.prosim.entity.IdEntity;

@Entity
@Table(name="ps_user")
public class User extends IdEntity {

	private String name;
	private String email;
	
	
	/**
	 * @return the userName
	 */
	@Column(name = "name", nullable = false)
	public String getName() {
		return name;
	}
	
	/**
	 * @param userName the userName to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	
	/**
	 * @return the email
	 */
	@Column(name = "email", nullable = false, unique = true)
	public String getEmail() {
		return email;
	}
	
	/**
	 * @param email the email to set
	 */
	public void setEmail(String email) {
		this.email = email;
	}
	
	
}
